package com.example.yk_lx.addFriend;

import androidx.lifecycle.MutableLiveData;

import com.example.yk_lx.baseMVVM.BaseViewModel;

public class AddFriViewModel extends BaseViewModel<AddFriRepo> {
    @Override
    protected AddFriRepo createRepo() {
        return new AddFriRepo();
    }
    public MutableLiveData<String> success = new MutableLiveData<>();
    public MutableLiveData<String> fail = new MutableLiveData<>();

    public void addFri(String name,String reason){
        repo.addFri(name,reason,success,fail);
    }
}
